

const mongoose = require('mongoose')

// 定义用户的表结构
module.exports = new mongoose.Schema({

	// 用户名
	categoryName: {
		type: String,
		required: true
	}
},{
		// 表示从collection user取值
    collection: "category"
})